/**
 * Copyright (c) 2018 人人开源 All rights reserved.
 *
 * https://www.renren.io
 *
 * 版权所有，侵权必究！
 */

package com.lswms.common.exception;

/**
 * 错误编码，由5位数字组成，前2位为模块编码，后3位为业务编码
 * <p>
 * 如：10001（10代表系统模块，001代表业务代码）
 * </p>
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0
 */
public interface ErrorCode {
    int INTERNAL_SERVER_ERROR = 500;
    int UNAUTHORIZED = 401;
    int FORBIDDEN = 403;

    int NOT_NULL = 10001;
    int DB_RECORD_EXISTS = 10002;
    int PARAMS_GET_ERROR = 10003;
    int ACCOUNT_PASSWORD_ERROR = 10004;
    int ACCOUNT_DISABLE = 10005;
    int IDENTIFIER_NOT_NULL = 10006;
    int CAPTCHA_ERROR = 10007;
    int SUB_MENU_EXIST = 10008;
    int PASSWORD_ERROR = 10009;
    int ACCOUNT_NOT_EXIST = 10010;
    int SUPERIOR_DEPT_ERROR = 10011;
    int SUPERIOR_MENU_ERROR = 10012;
    int DATA_SCOPE_PARAMS_ERROR = 10013;
    int DEPT_SUB_DELETE_ERROR = 10014;
    int DEPT_USER_DELETE_ERROR = 10015;
    int ACT_DEPLOY_ERROR = 10016;
    int ACT_MODEL_IMG_ERROR = 10017;
    int ACT_MODEL_EXPORT_ERROR = 10018;
    int UPLOAD_FILE_EMPTY = 10019;
    int TOKEN_NOT_EMPTY = 10020;
    int TOKEN_INVALID = 10021;
    int ACCOUNT_LOCK = 10022;
    int ACT_DEPLOY_FORMAT_ERROR = 10023;
    int OSS_UPLOAD_FILE_ERROR = 10024;
    int SEND_SMS_ERROR = 10025;
    int MAIL_TEMPLATE_NOT_EXISTS = 10026;
    int REDIS_ERROR = 10027;
    int JOB_ERROR = 10028;
    int INVALID_SYMBOL = 10029;
    int JSON_FORMAT_ERROR = 10030;
    int SMS_CONFIG = 10031;
    
    int TOKEN_NULL = 20001;
    int USERID_NULL = 20002;
    int NOT_LOGIN = 20003;
    int LOGIN_AGAIN = 20004;
    int IS_BIND = 20005;
    int AMOUNT_ERROR = 20006;
    int TRAD_ERROR = 20007;
    int BANK_ERROR = 20008;
    
    int NOT_SIGN = 20009;
    int LOTTERY_TIME_MIN = 20010;
    int LOTTERY_TIME_MAX = 20011;
    int BANKCARD_IS_MORE = 20012;
    int BANKCARD_IS_NOEXIST = 20013;
    int BANKCARD_IS_ERROE = 20014;
    int PARAM_ERROR = 20015;
    int SIGN_IS_EXIST = 20016;
    int AMOUNT_IS_LESS = 20017;
    int FULL_SIGN = 20018;
    int LOGIN_ERROR = 20019;
    
    
    int IS_RECEIVE = 30001;
    int ORDER_IS_NOEXIST = 30002;
    int MESSAGE_IS_ERROR = 30003;
    int X_COUNT_LESS_ONE = 30004;
    int NO_EDIT_ORDER = 30005;
    int AMOUNT_LESS = 30006;
    
    int DC_PROD_IS_NOT_EXIST = 30007;
    
    //wms
    int UNIT_IS_NOT_EXIST = 40000;
    int STOCKIN_DETAIL_IS_NULL = 40001;
    int FIRST_CANCEL_STOCKIN_TASK = 40002;
    int STOCK_IN_IS_NOT_EXIST = 40003;
    int STOCK_IN_TASK_IS_FISHED = 40004;
    
    
    int FIRST_CANCEL_STOCKOUT_TASK = 40005;
    int STOCK_OUT_IS_NOT_EXIST = 40006;
    int STOCK_OUT_TASK_IS_FISHED = 40007;
    int STOCK_IN_TASK_IS_ING = 40008;
    int STOCK_OUT_IS_MORE = 40009;
    int IN_IS_NOT_EXISTS = 40010;
    int IN_IS_LESS = 40011;
    int FP_OVER = 40012;
    int HOLD_IS_NOT_MOVE = 40013;
    int LOCA_IS_NOT_EXIST = 40015;
    int LOCA_IS_NOT_USE = 40016;
    int HOLD_IS_NOT_PDCJ = 40017;
    int TASK_IS_EXISTS = 40018;
    int IS_NOT_HOLD = 40019;
    int IS_NOT_JH_FINSH = 40020;
    int REC_IS_NOT_EXISTS = 40021;
    int CHECK_IS_NOT_FINSH = 40022;
    int CHECK_IS_TB_FINSH = 40023;
    int IN_IS_HOLD = 40024;
    int STOCK_IN_IS_NOT_EXISTS = 40025;

}
